import request from '../api'

const URL = '/taskSuite'

export function getAllTaskSuiteByPage(dto){
    return request.post(URL+"/getAllTaskSuiteByPage",dto)
}

export function addSuite(dto){
    return request.post(URL+"/addSuite",dto)
}

export function getTaskSuiteById(id){
    return request.get(URL+`/getTaskSuiteById/${id}`)
}

export function modifyTaskSuite(dto){
    return request.put(URL+"/modifyTaskSuite",dto)
}

export function deleteTaskSuiteById(id){
    return request.delete(URL+`/deleteTaskSuiteById/${id}`)
}

export function runTestCase(body){
    return request.post(URL+`/runTestCase`,body)
}